package com.hoshiicloud.shxping.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 支付订单参数
 */
@ApiModel("支付订单参数")
@Data
public class PayOrderParam implements Serializable {

    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "支付类型 weixin 微信小程序支付 alipay支付宝支付",example ="weixin")
    private String channel;

    @ApiModelProperty(value = "支付模式,暂时支持PAGE,WAP,WEBAPP,NATIVEAPP",example = "PAGE")
    private String payMode;

    @ApiModelProperty(value = "第三方用户id",hidden = true)
    private String openId;

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "前端返回地址,HTTP/HTTPS开头字符串")
    private String returnUrl;

    @ApiModelProperty(value = "用户id")
    private Long userId;


}
